import request from "../utils/request";

export const getHotApi = () => request.get('/index/hot')
export const getIndexApi = (data) => request.get('/index/new', { params: data })
// 文章详情
export const getContentApi = (id) => request.get('/index/show?id=' + id)
export const getCateListApi = () => request.get('/index/index')
export const getCateIdListApi = (data) => request.get('/index/list', { params: data })

